﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LEE.AspNetCore.Extensions.Swagger
{
    public class AddHeaderOption
    {
        /// <summary>
        /// 头名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 是否必填
        /// </summary>
        public bool Required { get; set; }
        /// <summary>
        /// 头描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        ///  包含以下任意一种特性则忽略填写该头
        /// </summary>
        public List<Type> IgnoreaAttributeTypes { get; set; }
        /// <summary>
        /// 包含以下任意一种请求方式则忽略填写该头
        /// </summary>
        public List<string> IgnoreaHttpMethods { get; set; }
    }
}
